#include "flag.h"
#include "functions.h"
#include "globals.h"
#include "SDL/SDL.h"

Flag::Flag(int x, int y)
{
    pos.x = x;
    pos.y = y;
}

void Flag::draw()
{
    apply_surface(pos.x - 4, pos.y - 6, imgFlag, screen);
}

int Flag::x()
{
    return pos.x;
}

int Flag::y()
{
    return pos.y;
}
